package com.lmt.ymcc.service;

import com.lmt.ymcc.domain.Course;
import com.baomidou.mybatisplus.service.IService;
import com.lmt.ymcc.dto.CourseDetailDto;
import com.lmt.ymcc.dto.CourseDto;
import com.lmt.ymcc.dto.CourseSaveDto;
import com.lmt.ymcc.vo.CourseInfoVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AmazingXu
 * @since 2022-08-08
 */
public interface ICourseService extends IService<Course> {

    void save(CourseSaveDto dto);

    void onLineCourse(Long id);

    void offLineCourse(Long courseId);

    CourseDetailDto detailData(Long courseId);

    CourseInfoVo info(String courseId);
}
